export const modelMap = {
  '/sys/user': {
    model: {
      apiUrlHeader: '/user',
      router: '/sys/user',
      attrs: [
        {
          name: 'username',
          describe: '用户名',
          type: 'string',
          show: true,
          need: true
        },
        {
          name: 'password',
          describe: '密码',
          type: 'string',
          show: false,
          need: true
        }
      ]
    }
  },
  '/sys/redis': {
    model: {
      apiUrlHeader: '/redis-value',
      router: '/sys/user',
      attrs: [
        {
          name: 'key',
          describe: '键',
          type: 'string',
          show: true,
          need: true
        },
        {
          name: 'value',
          describe: '值',
          type: 'string',
          show: true,
          need: true
        }
      ]
    }
  }
}
export const queryMap = {
  '/sys/user': {
    query: {}
  },
  '/sys/redis': {
    query: {}
  }
}
